class UserModel {
  late String mobile;
  late String accessToken;

  UserModel({required this.mobile, required this.accessToken});

  UserModel.fromJson(Map<String, dynamic> json) {
    mobile = json['mobile'];
    accessToken = json['access_token'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['mobile'] = this.mobile;
    data['access_token'] = this.accessToken;
    return data;
  }
}
